<!-- Begin Main Menu -->
<div class="ewMenu">
<?php $RootMenu = new cMenu(EW_MENUBAR_ID) ?>
<?php

// Generate all menu items
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(1, $Language->MenuPhrase("1", "MenuText"), "agendalist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}agenda'), FALSE);
$RootMenu->AddMenuItem(4, $Language->MenuPhrase("4", "MenuText"), "noticiaslist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}noticias'), FALSE);
$RootMenu->AddMenuItem(15, $Language->MenuPhrase("15", "MenuText"), "edictoslist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}edictos'), FALSE);
$RootMenu->AddMenuItem(17, $Language->MenuPhrase("17", "MenuText"), "resolucioneslist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}resoluciones'), FALSE);
$RootMenu->AddMenuItem(13, $Language->MenuPhrase("13", "MenuText"), "bannerlist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}banner'), FALSE);
$RootMenu->AddMenuItem(16, $Language->MenuPhrase("16", "MenuText"), "licitacioneslist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}licitaciones'), FALSE);
$RootMenu->AddMenuItem(5, $Language->MenuPhrase("5", "MenuText"), "paginaslist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}paginas'), FALSE);
$RootMenu->AddMenuItem(6, $Language->MenuPhrase("6", "MenuText"), "serviciodetallelist.php", -1, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}serviciodetalle'), FALSE);
$RootMenu->AddMenuItem(31, $Language->MenuPhrase("31", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(7, $Language->MenuPhrase("7", "MenuText"), "servicioslist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}servicios'), FALSE);
$RootMenu->AddMenuItem(18, $Language->MenuPhrase("18", "MenuText"), "usuarioslist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}usuarios'), FALSE);
$RootMenu->AddMenuItem(2, $Language->MenuPhrase("2", "MenuText"), "archivoslist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}archivos'), FALSE);
$RootMenu->AddMenuItem(14, $Language->MenuPhrase("14", "MenuText"), "contactolist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}contacto'), FALSE);
$RootMenu->AddMenuItem(10, $Language->MenuPhrase("10", "MenuText"), "delegacioneslist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}delegaciones'), FALSE);
$RootMenu->AddMenuItem(12, $Language->MenuPhrase("12", "MenuText"), "internoslist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}internos'), FALSE);
$RootMenu->AddMenuItem(32, $Language->MenuPhrase("32", "MenuText"), "farmaciaslist.php", 31, "", AllowListMenu('{1969EBBB-AC71-402B-89D8-7090C8C20C47}farmacias'), FALSE);
$RootMenu->AddMenuItem(-1, $Language->Phrase("Logout"), "logout.php", -1, "", IsLoggedIn());
$RootMenu->AddMenuItem(-1, $Language->Phrase("Login"), "login.php", -1, "", !IsLoggedIn() && substr(@$_SERVER["URL"], -1 * strlen("login.php")) <> "login.php");
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->
